<!-- BEGIN:main -->
<script type="text/javascript">
    $(document).ready(function() {

        $('.addToCart').click(function() {
            var itemID = $(this).attr('id');
            $('#hdAction').val('addToCart');
            $('#hdItemID').val(itemID);
            $('#frmNewItem').submit();
        });

    });
</script>
               
    <strong class="tieude">SẢN PHẨM MỚI</strong>
       
   	
        <form class="form-inline" role="form"  action="./com_cart.htm" method="post" id="frmNewItem">
            <input type="hidden" name="hdItemID" id="hdItemID" value=""/>
            <input type="hidden" name="hdAction" id="hdAction" value=""/>


            <!-- BEGIN:item_list-->

                    <div class="col-sm-4 col-lg-4 col-md-4 col-xs-12">
                        <div class="thumbnail">
                            <a href="./com_item/item/{ITEM_ALIAS}/{ITEM_ID}.htm">
                                    <img src="{ITEM_IMAGE}" class="img-responsive"/>
                                </a> 
                            <div class="caption">
                                <h4 class="pull-right"> 
                                <!-- BEGIN:add_to_cart_button -->
                                    <a  class="btn addToCart" href="javascript:void()" id="{ITEM_ID}">ADD CART</a>
                                    <!-- END:add_to_cart_button -->
                                    </h4>
                                    
                                <h4>{ITEM_PRICE} VNĐ
                                </h4>

                                <p>
                                <a class="d_link" href="./com_item/item/{ITEM_ALIAS}/{ITEM_ID}.htm"><strong>{ITEM_NAME}</strong></a>
                                </p>

                                <p> {ITEM_DESCRIPTION}</p>
                            </div>
                            <div class="ratings">
                                <p ><a class="d_link" href="./com_item/item/{ITEM_ALIAS}/{ITEM_ID}.htm"><strong>Xem chi tiết</strong></a></p>
                                
                            </div>
                        </div>
                    </div>

            {clearfix}
            <!-- END:item_list -->














        </form>        
        
  



<!-- END:main -->
